package com.woniuxy.producer.config.simple;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 简单mq模型
 */
@Configuration
public class RabbitSimpleConfig {
    @Bean
    public Queue createSimpleQueue(){
        return new Queue("simpleQueue");
    }
}
